package com.example.logic.chapter4.demo2;

/**
 * @Date 2023-05-02
 * @Author Jonathan
 */
public class Child extends Base {
    public static String s = "child_base";
    public String m = "child";

    public static void staticTest() {
        System.out.println("child static: " + s);
    }


    public static void main(String[] args) {
        Child c = new Child();
        Base b = c;
        System.out.println(b.s);
        System.out.println(b.m);
        Base.staticTest();
    }
}
